package example;
import java.util.*;
import java.math.BigDecimal;
public class judge1 {
	
	public static int jadge_int(int x)
	{
		int result = 1;
		int temp = (int)Math.sqrt(x);
		if(x ==0||x ==1||x ==2)
		{
			result = 1;
		}
		else {
			for(int i = 2; i<=temp; i++)
			{
				if(x%i == 0)
				{
					result = 0;
					break;
				}
			}
		}
		return result;
	}
}
